Fix missing subparser in test harness
authorStuart Prescott <stuart@debian.org>
Fri, 3 May 2024 06:48:49 +0000 (16:48 +1000)
committerStuart Prescott <stuart@debian.org>
Wed, 7 May 2025 13:59:19 +0000 (23:59 +1000)
Not needed in the build but needed for debugging the test harness...

Gbp-Pq: Name 0003-Fix-missing-subparser-in-test-harness.patch

testing/command.py

index be4ed8a07052850ade335f70875c921bfaf6a7ae..e0b73d0f69f841ad8fb5c676f2850d8d7a3fdb9b 100644 (file)
@@ -199,6 +199,7 @@ def main():
         type=int,
         help="use build number n (0-based), latest = -1 (default)",
     )
+    parser_list = subparsers.add_parser("list")
     args = parser.parse_args()
 
     if hasattr(args, "buildno"):